def index():
    shopcats = sip.taobao.shopcats.list.get()
    itemcats = sip.taobao.itemcats.get.v2(cids='11', fields=['name', 'parent_cid'])
#    itemcats = sip.taobao.itemcats.get(cids=['13'])
    return dict(
        shopcats = shopcats,
        itemcats = itemcats,
        )